package com.sdd.rpi_mobile.infoTypes;

/** Abstract class defining detailed information */
public abstract class Info {
	String mName;
	String mDescription;
	
	/**
	 * Building info object using string array
	 * @param info
	 * String array containing information in the following format [ name, description ] 
	 */
	public Info(String[] info) {
		this.mName = info[0];
		this.mDescription = info[1];
	}
	
	public String getName() {
		return this.mName;
	}
	
	public String getDescription() {
		return this.mDescription;
	}	
	
}
